package com.ternnetwork.batch.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 
 * @author xuwenfeng
 *
 */
@Entity
@Table(name="TEST_USER")
public class TestUser implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4334476520699971464L;
	@Id@Column(name="ID")
	private String id;
	@Column(name="NAME")
	private String name;
	@Column(name="AGE")
	private String age;
	
	public TestUser(String id, String name, String age) {
		this.id = id;
		this.name = name;
		this.age = age;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", age=" + age + "]";
	}

	public TestUser() {
		super();
	}
	
}
